home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Corrida / FlashRacer.swf / scripts / DefineButton2_98 / BUTTONCONDACTION on(keyPress s).as next >
Encoding:
Text File  |  2001-07-07  |  838 b   |  48 lines

  1. on(keyPress "s"){
  2.    position = "1";
  3.    realtime1 = "0";
  4.    realtime2 = "0";
  5.    realtime3 = "0";
  6.    realtime4 = "0";
  7.    rounds = "0";
  8.    round1 = "00:00:00";
  9.    round2 = "00:00:00";
  10.    round3 = "00:00:00";
  11.    finish = "00:00:00";
  12.    customtimer = "0";
  13.    tellTarget("/computer1")
  14.    {
  15.       gotoAndPlay(10);
  16.    }
  17.    tellTarget("/computer1/auto/move")
  18.    {
  19.       gotoAndStop(8);
  20.    }
  21.    tellTarget("/computer2")
  22.    {
  23.       gotoAndPlay(5);
  24.    }
  25.    tellTarget("/computer2/auto/move")
  26.    {
  27.       gotoAndStop(2);
  28.    }
  29.    tellTarget("/computer3")
  30.    {
  31.       gotoAndPlay(15);
  32.    }
  33.    tellTarget("/computer3/auto/move")
  34.    {
  35.       gotoAndStop(5);
  36.    }
  37.    tellTarget("/player")
  38.    {
  39.       play();
  40.    }
  41.    starttime = "0";
  42.    tellTarget("/finish")
  43.    {
  44.       gotoAndStop(1);
  45.    }
  46.    gotoAndPlay(5);
  47. }
  48.